import React from "react";
import {render} from "react-dom";

class App extends React.Component {
	render() {
		return <div>Hello {this.props.name}</div>;
	};
}


window.addEventListener('DOMContentLoaded', function() {
	render((
		<App name="Yunlong"/>
	), document.getElementById('app'));
});

